Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CRect::operator|
CRect                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CRect operator |( const RECT& rect2 ) const;
 
  Parameter   Description
 
  <rect2>     Contains a RECT or CRect.
 
  Return Value
 
  A CRect that is the union of CRect and <rect2>. A union is the smallest
  rectangle that contains both source rectangles.
 
  Windows ignores the dimensions of an empty rectangle, that is, a
  rectangle that has no height or has no width.
 
  See Also
 
  CRect::UnionRect
 
 
                                     -♦-